package cn.itcast;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Author: Saka
 * Date: 2019/1/9
 * Time: 15:22
 */
@SpringBootApplication
@MapperScan("cn.itcast.mapper")
@EnableDiscoveryClient//开启eureka客户端

public class UserServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class);
    }

}
